{if $tourney eq 0}
<p>No se ha creado un torneo a&uacute;n, por lo tanto no se pueden crear delegaciones</p>
{else}
<form id="new">
    <table>
        <tbody>
        <tr height="13">
            <td width="22%">Nombre:</td>
            <td>
                <input id="del_name" name="del_name" type="text" size="25" onfocus="switchColor('del_name',&#034;#999999&#034;);" />
            </td>
        </tr>
        <tr height="13">
            <td>N&uacute;m. de deportistas masculino:</td>
            <td>
                <input id="del_sportsman_number" name="del_sportsman_number" type="text" size="25" maxlength="2" onkeypress="return onlyNumbers(event);" onfocus="switchColor('del_sportsman_number',&#034;#999999&#034;);" />
            </td>
        </tr>
        <tr height="13">
            <td>N&uacute;m. de deportistas femenino:</td>
            <td>
                <input id="del_sportswoman_number" name="del_sportswoman_number" type="text" size="25" maxlength="2" onkeypress="return onlyNumbers(event);" onfocus="switchColor('del_sportswoman_number',&#034;#999999&#034;);" />
            </td>
        </tr>
        <tr>
            <td />
            <td>
                <input class="button" type="button" value="Crear" onclick="if(validate_delg()) send('new','content_area','Delegation/WP_Delegation.php?action=6');" />
                <input class="button" type="reset" value="Limpiar" />
            </td>
        </tr>
        </tbody>
    </table>
</form>
{/if}